//
//  MyInformationModel.swift
//  ezyform
//
//  Created by MoennigQ on 19/02/2017.
//  Copyright © 2017 Client.Solution Pty Ltd. All rights reserved.
//

import UIKit
import HandyJSON
class MyInformationModel: HandyJSON {
    var id: Int = 0
    var name: String = ""
    var email: String = ""
    var phone: String = ""
    var address: String = ""
    var suburb: String = ""
    var state: String = ""
    
    var oldPassword: String = ""
    var newPassword: String = ""
    var confirmNewPassword: String = ""
    
    var status: String = ""
    var accredited_number: String = ""
    var electrician_licenses: String = ""
    var expiry_date: String = ""
    var avatars: InstallerAvatars = InstallerAvatars()
    var installer: Bool = false//是否是installer
    var designer: Bool = false//是否是designer
    var electrician: Bool = false//是否是electrician
    var app_create_job: Bool = false//是否有创建Job的权限
    var plumber: Bool = false//是否是热水器安装工
    var plumber_licenses: String = ""
    
    /// 2024 3-2 new add
    var saa_number : String = ""
    /// begin
    var effective_date = ""
    /// end
    var accredited_number_end_date = ""
    
    required init(){}
}
struct InstallerAvatars: HandyJSON {
    var avatar: String = ""
    var thumb_40: String = ""
    var thumb_80: String = ""
    var thumb_160: String = ""
    var thumb_350: String = ""
}
